package com.wenwei.bean;

import java.io.Serializable;

/**
 * Created by nidalee on 2017/9/20.
 */

public class LoginBean implements Serializable{


    /**
     * id : 1
     * username : 18628155339
     * password : $2a$10$7JD.iGmWp.k0TtzX/XEwAu9FSDAEVnyRdnTD2FaDwbreppCSWE.2S
     * authorities : user
     * profile : {"id":1,"user_id":1,"balance":59,"nickname":"你老婆真棒","avator":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1504243462728&di=16a822237f994995f5b8356e71898b6d&imgtype=0&src=http%3A%2F%2Fimg1.50tu.com%2Fmeinv%2Fxinggan%2F2013-11-16%2Fe65e7cd83f37eed87067299266152807.jpg","sex":1,"carName":"五菱宏光","carNumber":"川A9999","create_time":1504175118000,"update_time":1504251239000,"delete_time":null}
     * status : 1
     * last_password_reset : 1505892804170
     * remember_token : eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxODYyODE1NTMzOSIsImF1ZGllbmNlIjoid2ViIiwiY3JlYXRlZCI6MTUwNTg5MjgwMzQxMiwiZXhwIjoxNTA2NDk3NjAzfQ.Wx41sOESknqtndQMvWrYrLxmIt3k37myBMxWzG5qsmBPu8NOb08m1-Z2mO7TTFFcnkE3iwMUty3W7qRqYefW8A
     * created_time : 1504175118000
     * updated_time : 1504232641000
     * deleted_time : null
     */

    private int id;
    private String username;
    private String password;
    private String authorities;
    private ProfileBean profile;
    private int status;
    private long last_password_reset;
    private String remember_token;
    private long created_time;
    private long updated_time;
    private Object deleted_time;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAuthorities() {
        return authorities;
    }

    public void setAuthorities(String authorities) {
        this.authorities = authorities;
    }

    public ProfileBean getProfile() {
        return profile;
    }

    public void setProfile(ProfileBean profile) {
        this.profile = profile;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public long getLast_password_reset() {
        return last_password_reset;
    }

    public void setLast_password_reset(long last_password_reset) {
        this.last_password_reset = last_password_reset;
    }

    public String getRemember_token() {
        return remember_token;
    }

    public void setRemember_token(String remember_token) {
        this.remember_token = remember_token;
    }

    public long getCreated_time() {
        return created_time;
    }

    public void setCreated_time(long created_time) {
        this.created_time = created_time;
    }

    public long getUpdated_time() {
        return updated_time;
    }

    public void setUpdated_time(long updated_time) {
        this.updated_time = updated_time;
    }

    public Object getDeleted_time() {
        return deleted_time;
    }

    public void setDeleted_time(Object deleted_time) {
        this.deleted_time = deleted_time;
    }

    public static class ProfileBean implements Serializable{
        /**
         * id : 1
         * user_id : 1
         * balance : 59
         * nickname : 你老婆真棒
         * avator : https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1504243462728&di=16a822237f994995f5b8356e71898b6d&imgtype=0&src=http%3A%2F%2Fimg1.50tu.com%2Fmeinv%2Fxinggan%2F2013-11-16%2Fe65e7cd83f37eed87067299266152807.jpg
         * sex : 1
         * carName : 五菱宏光
         * carNumber : 川A9999
         * create_time : 1504175118000
         * update_time : 1504251239000
         * delete_time : null
         */

        private int id;
        private int user_id;
        private double balance;
        private String nickname;
        private String avator;
        private int sex;
        private String carName;
        private String carNumber;
        private long create_time;
        private long update_time;
        private Object delete_time;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public double getBalance() {
            return balance;
        }

        public void setBalance(int balance) {
            this.balance = balance;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getAvator() {
            return avator;
        }

        public void setAvator(String avator) {
            this.avator = avator;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public String getCarName() {
            return carName;
        }

        public void setCarName(String carName) {
            this.carName = carName;
        }

        public String getCarNumber() {
            return carNumber;
        }

        public void setCarNumber(String carNumber) {
            this.carNumber = carNumber;
        }

        public long getCreate_time() {
            return create_time;
        }

        public void setCreate_time(long create_time) {
            this.create_time = create_time;
        }

        public long getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(long update_time) {
            this.update_time = update_time;
        }

        public Object getDelete_time() {
            return delete_time;
        }

        public void setDelete_time(Object delete_time) {
            this.delete_time = delete_time;
        }
    }
}
